{+include file='header2.html'+}
<link href="/default/css/jquery.loadmask.css" rel="stylesheet" />
<script src="/js/sitetool.js?v=004"></script>
<script src="/js/jquery.loadmask.js?v=004"></script>
</head><body>
<script id=myjs language="javascript">var mulu='{+$mulu+}';var js=1;var sss='sysconfig';</script>
<div class="jt-container">
 <input type="hidden" name="xtype" value="setsys" />
  <div class="s_main">  
 <table  class="data_table info_table user_panel table_ball infotb">
 <thead><tr><th colspan="4">参数设置</th></tr></thead>
 <tbody>
  <tr>
                <th>系统状态</th>
				<td><select style="width: 100px;"  class="ifopen">
   <OPTION value="0" {+if $config.ifopen==0+}selected{+/if+}>关闭</OPTION>
   <OPTION value="1" {+if $config.ifopen==1+}selected{+/if+}>开启</OPTION>  
   </select></td>
				 <th>登入识别手机版</th>
               <td>
				 <label><input type="radio" name="loginfenli" class="loginfenli"  {+if $config.loginfenli==1+}checked{+/if+} value="1">识别</label>
			     <label><input type="radio" name="loginfenli" class="loginfenli"  {+if $config.loginfenli==0+}checked{+/if+}  value="0">不识别</label>&nbsp;(会员自行切换手机版)</td>
            </tr>
			
			
  <tr>
                <th>平台名称</th>
                <td><input type="text" style="width: 100px;" class='webname txt1'  value='{+$config.webname+}' ></td>
				 <th>最低注单金额</th>
                <td><input type="text" style="width: 100px;" class='minje txt1' value='{+$config.minje+}' ></td>
            </tr>
 <tr>
                  <th>用户密码有效期(天)</th>
                <td><input type="text" style="width: 100px;" value='{+$config.passtime+}' class="passtime txt1" /></td>
				 <th>登陆停留(分钟)</th>
                <td><input type="text" style="width: 100px;" value='{+$config.livetime+}' class="livetime txt1" /></td>
            </tr>
	<tr>
             <th>投注间隔(秒)</th>
                <td><input type="text" style="width: 100px;" value='{+$config.tzjg+}' class="tzjg txt1" /></td>
				  <th>注单最高派彩</th>
                <td><input type="text" style="width: 100px;" value='{+$config.maxpc+}' class="maxpc txt1" /></td>
            </tr>
			<tr>
             <th>操作密码更改</th>
               <td><input type="password" type='text' style="width: 100px;" class="txt1 supass" placeholder="请输入密码"  /></td>
				     <th>系统版本</th><td><select  disabled style="width: 100px;" class="moneytype">
   <OPTION value="0" {+if $config.moneytype=='0'+}selected{+/if+}>信用版</OPTION>
   <OPTION value="1" {+if $config.moneytype=='1'+}selected{+/if+}>现金版</OPTION>
   </select>&nbsp;(请联系系统人员)</td>
            </tr>
			
		<tr>
               <th>降倍赔率恢复</th>
				<td>
               <select  style="width: 100px;" class="plresetfs">
   <OPTION value="now" {+if $config.plresetfs=='now'+}selected{+/if+}>开出即恢复</OPTION>
   <OPTION value="next" {+if $config.plresetfs=='next'+}selected{+/if+}>停留一期恢复</OPTION>
   </select>&nbsp;(自动降倍后的赔率)</td>
   <th>信用额度恢复</th>
				<td>
               <select  style="width: 100px;" class="reseted">
   <OPTION value="week" {+if $config.reseted=='week'+}selected{+/if+}>每周</OPTION>
   <OPTION value="day" {+if $config.reseted=='day'+}selected{+/if+}>每天</OPTION>
   </select></td>
            </tr>
		<tr>
                <th>自动恢复赔率</th>
				<td>
			 <label><input type="radio" name="autoresetpl" class="autoresetpl"  {+if $config.autoresetpl==1+}checked{+/if+} value="1">开启</label>
			 <label><input type="radio" name="autoresetpl" class="autoresetpl"  {+if $config.autoresetpl==0+}checked{+/if+}  value="0">关闭</label>
			 &nbsp;(控盘后的赔率恢复)
			 </td>
                <th>代理自动降倍</th>
				<td>
				 <label><input type="radio" name="comattpeilv" class="comattpeilv"  {+if $config.comattpeilv==1+}checked{+/if+} value="1">启用</label>
			     <label><input type="radio" name="comattpeilv" class="comattpeilv"  {+if $config.comattpeilv==0+}checked{+/if+}  value="0">不启用</label>
				 &nbsp;(仅支持一级代理启用自动降倍)
				 </td>
            </tr>
			<tr>
                <th>代理自动补货</th>
				<td>
				 <label><input type="radio" name="flyflag" class="flyflag"  {+if $config.flyflag==1+}checked{+/if+} value="1">启用</label>
			     <label><input type="radio" name="flyflag" class="flyflag"  {+if $config.flyflag==0+}checked{+/if+}  value="0">不启用</label></td>
                <th>代理修改占成</th>
				<td>
				<label><input type="radio" name="editzc" class="editzc"  {+if $config.editzc==1+}checked{+/if+} value="1">允许</label>
			     <label><input type="radio" name="editzc" class="editzc"  {+if $config.editzc==0+}checked{+/if+}  value="0">不允许</label>
				</td>
            </tr>
			<tr>
                <th>一级控盘功能</th>
				<td>
				 <label><input type="radio" name="panel" class="panel"  {+if $config.panel==1+}checked{+/if+} value="1">启用</label>
			     <label><input type="radio" name="panel" class="panel"  {+if $config.panel==0+}checked{+/if+}  value="0">不启用</label></td>
                <th>IP记录</th>
				<td>
				<label><input type="radio" name="iprecord" class="iprecord"  {+if $config.iprecord==1+}checked{+/if+} value="1">记录</label>
			     <label><input type="radio" name="iprecord" class="iprecord"  {+if $config.iprecord==0+}checked{+/if+}  value="0">不记录</label>
				 &nbsp;(包括登陆,操作IP)
				</td>
            </tr>
			<tr>
                <th>代理删除用户</th>
				<td>
				<label><input type="radio" name="deluser" class="deluser"  {+if $config.deluser==1+}checked{+/if+} value="1">允许</label>
			     <label><input type="radio" name="deluser" class="deluser"  {+if $config.deluser==0+}checked{+/if+}  value="0">不允许</label>
				</td>
				
                <th>启用赚赔功能</th>
				<td class="t_left"><select style="width: 100px;" class="plc">
   <OPTION value="0" {+if $config.plc==0+}selected{+/if+}>关闭</OPTION>
   <OPTION value="1" {+if $config.plc==1+}selected{+/if+}>开启</OPTION>  
   </select></td>
            </tr>
			<tr>
			 <th>会员报表彩种合并</th>
			 <td>
			 <label><input type="radio" name="merge" class="merge"  {+if $config.merge==1+}checked{+/if+} value="1">开启</label>
			 <label><input type="radio" name="merge" class="merge"  {+if $config.merge==0+}checked{+/if+}  value="0">关闭</label>
			  &nbsp;(会员查账彩种是否合并)
			 </td>
			 <th>代理报表下载</th>
			 <td>
			 <label><input type="radio" name="baobf" class="baobf"  {+if $config.baobf==1+}checked{+/if+} value="1">开启</label>
			 <label><input type="radio" name="baobf" class="baobf"  {+if $config.baobf==0+}checked{+/if+}  value="0">关闭</label>
			 </td>
			 </tr>
			 
			 <tr  class='tram' >
			 <th>代理报表查询限制</th>
			 <td><input type="text" style="width: 60px;" class='agents txt1' value='{+$config.agents+}' >&nbsp;日<span>&nbsp;(可查范围：<span class="agents"></span>—<span class="time"></span>)</span></td>
			 <th>会员报表查询限制</th>
			 <td><input type="text" style="width: 60px;" class='members txt1'  disabled value='{+$config.members+}' >&nbsp;日<span>&nbsp;(默认两周报表不可更改)</span></td>
			 </tr>
			 
			 
			 
			 
			 
			<tr style="display: none;">
	  <th>退水修改开始时间</th><td><input type="text" value='{+$config.editstart+}' class="editstart txt1" /></td>
    <th>退水修改结束时间</th><td><input type="text" value='{+$config.editend+}' class="editend txt1" /></td>
	 </td>

    </tr>
</tbody>
 </table>
      <div class="data_footer control">
          <input type="button" value="保存" class="button editall bnt_1" />
		</div>
</div>
<div id='test'></div>
<script language="javascript">
var agents ={+$config.agents+};
var members ={+$config.members+};
</script>
</body>
</html>